<script type="text/javascript">
	var lemonstand_root_dir = '<?= Phpr::$request->getSubdirectory() ?>';
</script>

<base href="<?= Phpr::$request->getRootUrl().Phpr::$request->getSubdirectory() ?>" />